package com.macrounion.atv.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@RestController
@RequestMapping("/web/device")
public class DeviceController {

    @RequestMapping("/index")
    public ModelAndView index() {
        return new ModelAndView("/device/index");
    }

    @RequestMapping("/statusIndex")
    public ModelAndView statusIndex() {
        return new ModelAndView("/deviceStatus/index");
    }
}